import { Component, OnInit } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { CommonService } from 'src/app/services/common.service';

@Component({
  selector: 'app-my',
  templateUrl: './my.component.html',
  styleUrls: ['./my.component.scss'],
})
export class MyComponent implements OnInit {
  constructor(
    private commonserive: CommonService,
    private i18l: TranslateService
  ) {
  }

  ngOnInit() { }

  get luytitle(): string {
    return this.commonserive.title
  }
}
